package com.zlkj.pro.modular.business.mapper;

import java.util.List;
import java.util.Map;

import com.zlkj.pro.modular.admin.model.dto.DashboardDTO;
import com.zlkj.pro.modular.business.entity.ReportEntity;

/**
 * @author liyang
 */
public interface DashboardMapper {

    Map<String, Long> selectCustomer(DashboardDTO dto);

    List<Map<String, Object>> customerByMonthsType1(DashboardDTO dto);

    List<Map<String, Object>> customerByMonthsType2(DashboardDTO dto);

    List<Map<String, Object>> customerByMonthsType3(DashboardDTO dto);

    /*销售分析*/
    List<Map<String, Object>> salesPerformance1(DashboardDTO dto);
    List<Map<String, Object>> salesPerformance2(DashboardDTO dto);
    List<Map<String, Object>> salesPerformance3(DashboardDTO dto);
    List<Map<String, Object>> salesPerformance4(DashboardDTO dto);

    List<ReportEntity> salesPerformance2Data(DashboardDTO dto);
    List<ReportEntity> salesPerformance3Data(DashboardDTO dto);

    List<Map<String, Object>> seniorityUser(DashboardDTO dto);

    List<Map<String, Object>> seniorityAgent(DashboardDTO dto);

    List<Map<String, Object>> seniorityRegion(DashboardDTO dto);
}
